<template>
  <Base
    url="/LogConnect/GetPageList"
    :tableColumn="tableColumn"
    :name="t('loginfo.base.connect')"
  />
</template>

<script setup>
import Base from "../base/index.vue";
import { useI18n } from "vue-i18n";
let { t } = useI18n();
const tableColumn = [
  { type: "index", width: "50", label: "No.", align: "center", fixed: true },
  { prop: "deviceName", label: t("loginfo.connect.device"), align: "center" },
  { prop: "creationTime", label: t("loginfo.connect.time"), align: "center" },
  {
    prop: "connectionStatus",
    label: t("loginfo.connect.status"),
    align: "center",
    slot: "connectionStatus",
  },
  {
    prop: "protocol",
    label: t("loginfo.connect.protocol"),
    align: "center",
    slot: "protocol",
  },
  { prop: "message", label: t("loginfo.connect.message"), align: "center" },
  { prop: "remark", label: t("loginfo.connect.remark"), align: "center" },
];
</script>
<style lang="scss" scoped></style>
